package com.fc.framework.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Version;

public class BaseEntity implements Serializable {

    private static final long serialVersionUID = -6309954506127827034L;

    @Version
    @Column(name = "VERSION")
    private Integer version;

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
}